#ifndef XWINDOWS_H
#define XWINDOWS_H

class XUserInterface
{
	public:
		XUserInterface(XResourcesManager *data);
		void AddWindow(XWindow *window, std::string windowName);

		std::string screen();
		void SetScreen(std::string screenName);
		void AddScreen(std::string screenName, std::string windows);

		void CheckState(const sf::Input &input);
		void CheckEvent(const sf::Event &Event);

		void CheckFunctions();

		virtual void Draw();

	private:
		XResourcesManager* x_data;

		std::map<std::string, XWindow*> x_windows;
		std::vector<std::string> x_windowsOrder;

		bool x_clickedLastFrame;

		std::string x_screen;
		std::map<std::string, std::string> x_screens;
};

#endif